﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MPLogado.Master" AutoEventWireup="true" CodeBehind="ExibirDetalhes.aspx.cs" Inherits="CreditoAutorizado.ExibirDetalhes" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="style1">
        <tr>
            <td style="width: 123px">
                &nbsp;</td>
            <td align="center" 
                style="font-family: 'kRISten ITC'; font-weight: bold; height: 44px;">
                DETALHES DO CLIENTE</td>
            <td style="width: 123px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 123px">
                &nbsp;</td>
            <td align="left" style="border: 2px solid #0066FF; background-color: #6699FF">
                <strong>Nome:</strong>
                <asp:Label ID="lblNome" runat="server" Text="{Nome do Cliente}"></asp:Label>
&nbsp;<strong>CPF: </strong>&nbsp;<asp:Label ID="lblCpf" runat="server" Text="{CPF}"></asp:Label>
                <br />
                <strong>Rua:</strong>
                <asp:Label ID="lblRua" runat="server" Text="{Rua}"></asp:Label>
&nbsp;<strong>Número:</strong>
                <asp:Label ID="lblNumero" runat="server" Text="{Numero}"></asp:Label>
&nbsp;<strong>Bairro:</strong>
                <asp:Label ID="lblBairro" runat="server" Text="{Bairro}"></asp:Label>
                <br />
                <strong>Cidade:</strong>
                <asp:Label ID="lblCidade" runat="server" Text="{Cidade}"></asp:Label>
&nbsp;<br />
                <strong>Telefone:</strong>
                <asp:Label ID="lblTelefone" runat="server" Text="{Telefone}"></asp:Label>
&nbsp;<strong>Celular:</strong>
                <asp:Label ID="lblCelular" runat="server" Text="{Celular}"></asp:Label>
&nbsp;<strong>Email:</strong>
                <asp:Label ID="lblEmail" runat="server" Text="{Email}"></asp:Label>
                <br />
                <strong>Cadastrado por:</strong>
                <asp:Label ID="lblNomeUsuario" runat="server" Text="{Nome do Usuario}"></asp:Label>
&nbsp;<strong>Data:</strong>
                <asp:Label ID="lblDataCadastro" runat="server" Text="{Data de Cadastro}"></asp:Label>
&nbsp;</td>
            <td style="width: 123px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 123px">
                &nbsp;</td>
            <td align="center" 
                style="font-family: 'kRISten ITC'; font-weight: bold; height: 44px;">
                <asp:Label ID="lblDebitoCliente" runat="server" Text="DÉBITOS DO CLIENTE"></asp:Label>
            </td>
            <td style="width: 123px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 123px">
                &nbsp;</td>
            <td align="center">
                <asp:GridView ID="grvDebitos" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" CellPadding="4" EnableModelValidation="True" 
                    ForeColor="#333333" GridLines="None">
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <Columns>
                        <asp:BoundField DataField="DebitoId" SortExpression="DebitoId">
                        <ItemStyle Width="30px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Descricao" HeaderText="Descricão" 
                            SortExpression="Descricao">
                        <ItemStyle Width="340px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DataEmissao" HeaderText="Data de Emissao" 
                            SortExpression="DataEmissao" DataFormatString="{0:d}" >
                        <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DataPagamento" HeaderText="Data de Pagamento" 
                            SortExpression="DataPagamento" DataFormatString="{0:d}" >
                        <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                    </Columns>
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                </asp:GridView>
            </td>
            <td style="width: 123px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 123px">
                &nbsp;</td>
            <td align="center">
                <asp:Button ID="BtVoltar" runat="server" BackColor="#0099FF" 
                    BorderColor="#0099FF" BorderStyle="Inset" Font-Bold="True" ForeColor="White" 
                    Text="Voltar" ValidationGroup="MensageError" onclick="BtVoltar_Click" />
                <asp:Button ID="BtCadastrarDebito" runat="server" BackColor="#0099FF" 
                    BorderColor="#0099FF" BorderStyle="Inset" Font-Bold="True" ForeColor="White" 
                    Text="Cadastrar Débito" ValidationGroup="MensageError" 
                    onclick="BtCadastrarDebito_Click" />
            </td>
            <td style="width: 123px">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
